Release 10.1A: OpenEdge Data Management:
SQL Reference
SET SCHEMA
Sets the default owner, also known as schema, for unqualified table references.
Syntax
'string_literal'Specifies the name for the default owner as a string literal, enclosed in single or double quotes.
?Indicates a parameter marker to contain the default owner. The actual replacement value for the owner name is supplied in a subsequent SQL operation.
USERDirects the database to set the default owner back to the username that established the session.
ExampleThis example sets the default schema name to
White:
Subsequent SQL statements with unqualified table references will use the owner name
White. TheSELECTstatement in this example returns all rows in the ‘White.customer’ table. The username establishing the original session is still the current user.Notes
Authorization
None
Related statements
None
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |